package com.vichat.res.entity;


import javax.persistence.*;

/***************
 *author: autogen
 *version: 2018-09-26 17:58:43.47
 */
@Entity
@Table(name = "sys_params",catalog = "cfgdb")
public class SysParams implements java.io.Serializable{

	private static final long serialVersionUID = 1L;
	


    public static final String TABLE = "sys_params";

    /** */
	public static final String ALIAS_NAME = "name";
    /** */
	public static final String ALIAS_VALUE = "value";
    /** */
	public static final String ALIAS_OP_TIME = "op_time";


	@Id
 	@Column(name = "name")
    public java.lang.String name;
  
 	@Column(name = "value")
    public java.lang.String value;
  
 	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "op_time")
    public java.util.Date opTime;
  





	public java.lang.String getName() {
		return this.name;
	}
	
	public void setName(java.lang.String value) {
		this.name = value;
	}

	public java.lang.String getValue() {
		return this.value;
	}
	
	public void setValue(java.lang.String value) {
		this.value = value;
	}

	public java.util.Date getOpTime() {
		return this.opTime;
	}
	
	public void setOpTime(java.util.Date value) {
		this.opTime = value;
	}


	
	public SysParams() {
	}
	
	public SysParams(boolean qryflag) {
	    if(qryflag){
	    		this.name = null;
				this.value = null;
				this.opTime = null;
			    }
	}


	public SysParams(
	    java.lang.String inName,
	    java.lang.String inValue,
		java.util.Date inOpTime
	 ) {
		super();
				this.name = inName;
				this.value = inValue;
				this.opTime = inOpTime;
			}





}

